namespace go UserAgent

struct Agent {
1:string UserAgent,
2:string AgentIp,
3:string SiteId,
}

service UserAgent{
    //随机获取UserAgent
    string GetUserAgent(),
    //通过网站名称获取到UserAgent
    string GetUserAgentById(1:string site),
    //通过网站名称获取反向代理IP
    string GetAgentIp(1:string site),
    //根据网站ID 返回 代理对象
    Agent GetAgentBySiteID(1:string siteID),
}